package com.dcy.znoa.domain.publiz;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("canteen")
public class Canteen {//食堂 食堂表：

    @TableId(type = IdType.AUTO, value = "canteen_id")
    Long canteenId;

    @TableField("canteen_name")
    String canteenName;

    @TableField
    Long entityId;//所属实体ID
    @TableField
    Integer entityType;//所属类型 1 园区 2 企业

    @TableField("contact")
    String contact;

    @TableField("contact_man")
    String contactMan;

    @TableField("address")
    String address;

    @TableField("create_oper_id")
    Long createOperId;

    @TableField("create_time")
    Date createTime;

    @TableField("update_oper_id")
    Long updateOperId;

    @TableField("update_time")
    Date updateTime;

    @TableField("valid_flag")
    Integer validFlag;


}
